txt = "Hello, welcome to my world."

x = txt.rindex("e", 5, 10)

print(x)
